﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SistemaAdministracion.Models.PatternBase
{
    interface IDbContext : IDisposable
    {
        DbSet<T> CreateDbSet<T>() where T : class;
        void SaveChanges();
        void ChangeObjectState<T>(T Entity, EntityState entityState) where T : class;
    }
}
